package com.ganeshkrishnan.globald.dao;

import java.util.List;

import com.ganeshkrishnan.globald.abstracts.GenericDao;
import com.ganeshkrishnan.globald.model.CivResource;

public interface CivResourceDao extends GenericDao<CivResource, Long> {
	/**
	 *  Get 	
	 */
	public List<CivResource> findAllResourcesByPersonID(Long PersonID);

	public CivResource findResourceByPerson(Long PersonID, int resType);
	public CivResource UpdateResource(CivResource resource);
	
	public CivResource getResource(int resType);
	
	public CivResource getCivilians(int civType);
	
}
